/*    */ package com.zimbra.cs.redolog.op;
/*    */ 
/*    */ import com.zimbra.cs.mailbox.MailboxOperation;
/*    */ import com.zimbra.cs.redolog.RedoLogInput;
/*    */ import com.zimbra.cs.redolog.RedoLogOutput;
/*    */ import java.io.IOException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class FixCalendarItemTimeZone
/*    */   extends RedoableOp
/*    */ {
/*    */   private int mId;
/*    */   private long mAfter;
/*    */   private String mCountry;
/*    */   
/*    */   public FixCalendarItemTimeZone()
/*    */   {
/* 33 */     super(MailboxOperation.FixCalendarItemTimeZone);
/*    */   }
/*    */   
/*    */   public FixCalendarItemTimeZone(int mailboxId, int itemId, long after, String country) {
/* 37 */     this();
/* 38 */     setMailboxId(mailboxId);
/* 39 */     this.mId = itemId;
/* 40 */     this.mAfter = after;
/* 41 */     this.mCountry = country;
/*    */   }
/*    */   
/*    */   protected String getPrintableData() {
/* 45 */     StringBuilder sb = new StringBuilder("id=");
/* 46 */     sb.append(this.mId);
/* 47 */     sb.append(", after=").append(this.mAfter);
/* 48 */     sb.append(", country=").append(this.mCountry);
/* 49 */     return sb.toString();
/*    */   }
/*    */   
/*    */   protected void serializeData(RedoLogOutput out) throws IOException {
/* 53 */     out.writeInt(this.mId);
/* 54 */     out.writeLong(this.mAfter);
/* 55 */     out.writeUTF(this.mCountry);
/*    */   }
/*    */   
/*    */   protected void deserializeData(RedoLogInput in) throws IOException {
/* 59 */     this.mId = in.readInt();
/* 60 */     this.mAfter = in.readLong();
/* 61 */     this.mCountry = in.readUTF();
/*    */   }
/*    */   
/*    */   public void redo()
/*    */     throws Exception
/*    */   {}
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/redolog/op/FixCalendarItemTimeZone.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */